#!/Library/Frameworks/Python.framework/Versions/3.8/bin/python3
# -*- coding: UTF-8 -*-
a=[3,4,5,6,7,9,11,13,15,17]

print(a[3:7]) # 6,7,9,11
print(a[:5:2]) # 3,5,7
print(a[-5:]) # 9,11,13,15,17
print(a[-7:-2:2]) # 6,9,13
print(a[:5:-1]) # 7,6,5,4,3(X)  # 17,15,13,11
print(a[8:-9:-1]) # 15,13,11,9,7,6,5
print('this is a words')